import App from './App'
import store from '@/store';
import Vue from 'vue'
// 自定义全局变量或函数
import VMprototype from './utils/vm.prototype'
Vue.use(VMprototype) 
// 注入全局过滤器
import * as filters from '@/common/filter.js';
Object.keys(filters).forEach(key => {
	Vue.filter(key, filters[key])
})


import uView from 'uview-ui'
Vue.use(uView);
// 引入全局uView
Vue.config.productionTip = false
// 全局引入并mixin vuex
let vuexStore = require("@/store/$u.mixin.js");
Vue.mixin(vuexStore);

App.mpType = 'app'
const app = new Vue({
	store,
    ...App
})
app.$mount()
